/**
 * mutations 业务层提交数据
 */

import storage  from "../utils/storage";

export default {
    saveUserInfo(state,userInfo){
        console.log("saveUserInfo",userInfo)
        state.userInfo = userInfo;
        storage.setItem('userInfo',userInfo);
    },
    getUserInfo(state){
        return state.userInfo
    }
}